[INFO] fetching crate twirl 0.1.1...
[INFO] checking twirl-0.1.1 against try#34585ff556bad2462429cd3775623c743928a72f for pr-102593
[INFO] extracting crate twirl 0.1.1 into /workspace/builds/worker-5/source
[INFO] validating manifest of crates.io crate twirl 0.1.1 on toolchain 34585ff556bad2462429cd3775623c743928a72f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate twirl 0.1.1
[INFO] finished tweaking crates.io crate twirl 0.1.1
[INFO] tweaked toml for crates.io crate twirl 0.1.1 written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0f96de68aec03f53cb85e3be7db39f78295a4a8f376c90f96fb3e79d5459d4d8
[INFO] running `Command { std: "docker" "start" "-a" "0f96de68aec03f53cb85e3be7db39f78295a4a8f376c90f96fb3e79d5459d4d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f96de68aec03f53cb85e3be7db39f78295a4a8f376c90f96fb3e79d5459d4d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f96de68aec03f53cb85e3be7db39f78295a4a8f376c90f96fb3e79d5459d4d8", kill_on_drop: false }`
[INFO] [stdout] 0f96de68aec03f53cb85e3be7db39f78295a4a8f376c90f96fb3e79d5459d4d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5178481b82d4162e13274c6e0acda46544c1166f71a2487680ad67a917a56b18
[INFO] running `Command { std: "docker" "start" "-a" "5178481b82d4162e13274c6e0acda46544c1166f71a2487680ad67a917a56b18", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.134
[INFO] [stderr]    Compiling proc-macro2 v1.0.46
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.4
[INFO] [stderr]    Compiling syn v1.0.101
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking once_cell v1.15.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.9
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-core-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling futures-core v0.3.24
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking futures-sink-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling pin-project-internal v0.4.30
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking futures-channel-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]     Checking futures-io-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking futures-io v0.3.24
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking futures-util-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]     Checking cache-padded v1.2.0
[INFO] [stderr]     Checking concurrent-queue v1.2.4
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking tracing-core v0.1.29
[INFO] [stderr]     Checking fastrand v1.8.0
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]     Checking parking v2.0.0
[INFO] [stderr]     Checking waker-fn v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]     Checking futures-lite v1.12.0
[INFO] [stderr]    Compiling openssl-sys v0.9.76
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking crossbeam-queue v0.1.2
[INFO] [stderr]     Checking tokio-sync v0.2.0-alpha.6
[INFO] [stderr]     Checking crossbeam-channel v0.3.9
[INFO] [stderr]    Compiling polling v2.3.0
[INFO] [stderr]    Compiling futures-channel v0.3.24
[INFO] [stderr]     Checking event-listener v2.5.3
[INFO] [stderr]    Compiling futures-task v0.3.24
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]    Compiling async-io v1.9.0
[INFO] [stderr]    Compiling futures-util v0.3.24
[INFO] [stderr]     Checking futures-sink v0.3.24
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.42
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]     Checking async-task v4.3.0
[INFO] [stderr]     Checking webpki v0.21.4
[INFO] [stderr]     Checking http v0.1.21
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking async-channel v1.7.1
[INFO] [stderr]    Compiling backtrace v0.3.66
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling async-process v1.5.0
[INFO] [stderr]     Checking atomic-waker v1.0.0
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.12
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking gimli v0.26.2
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking miniz_oxide v0.5.4
[INFO] [stderr]    Compiling protobuf-codegen v2.28.0
[INFO] [stderr]     Checking blocking v1.2.0
[INFO] [stderr]     Checking async-executor v1.4.1
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]     Checking sct v0.6.1
[INFO] [stderr]     Checking async-lock v2.5.0
[INFO] [stderr]     Checking string v0.2.1
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking object v0.29.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling serde v1.0.145
[INFO] [stderr]     Checking tower-service v0.3.0-alpha.2
[INFO] [stderr]    Compiling protobuf-codegen-pure v2.28.0
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking rustc-demangle v0.1.21
[INFO] [stderr]    Compiling anyhow v1.0.65
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling ctor v0.1.23
[INFO] [stderr]    Compiling tracing-attributes v0.1.22
[INFO] [stderr]    Compiling futures-macro v0.3.24
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling tokio-macros v0.2.0-alpha.6
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking async-global-executor v2.3.0
[INFO] [stderr]     Checking rustls v0.18.1
[INFO] [stderr]     Checking pin-project v0.4.30
[INFO] [stderr]     Checking tokio-io v0.2.0-alpha.6
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking tokio-codec v0.2.0-alpha.6
[INFO] [stderr]     Checking tower-make v0.3.0-alpha.2a
[INFO] [stderr]     Checking tracing v0.1.36
[INFO] [stderr]     Checking h2 v0.2.0-alpha.3
[INFO] [stderr]     Checking tokio-executor v0.2.0-alpha.6
[INFO] [stderr]     Checking http-body v0.2.0-alpha.3
[INFO] [stderr]     Checking webpki-roots v0.20.0
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]    Compiling serde_derive v1.0.145
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]     Checking tokio-timer v0.3.0-alpha.6
[INFO] [stderr]     Checking tokio-fs v0.2.0-alpha.6
[INFO] [stderr]     Checking tokio-net v0.2.0-alpha.6
[INFO] [stderr]     Checking form_urlencoded v1.1.0
[INFO] [stderr]     Checking tokio-tls v0.3.0-alpha.6
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking async-std v1.12.0
[INFO] [stderr]     Checking futures-executor v0.3.24
[INFO] [stderr]    Compiling connect v0.1.2
[INFO] [stderr]     Checking futures v0.3.24
[INFO] [stderr]     Checking tokio v0.2.0-alpha.6
[INFO] [stderr]     Checking async-tls v0.9.0
[INFO] [stderr]     Checking hyper v0.13.0-alpha.4
[INFO] [stderr]     Checking futures-executor-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]     Checking iana-time-zone v0.1.50
[INFO] [stderr]     Checking itoa v1.0.3
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking futures-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking chrono v0.4.22
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking ffi-support v0.3.5
[INFO] [stderr]     Checking simple-error v0.2.3
[INFO] [stderr]     Checking hyper-tls v0.4.0-alpha.4
[INFO] [stderr]     Checking twirl v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(in_band_lifetimes)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed due to unsolved ergonomic questions and added lifetime resolution complexity
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(in_band_lifetimes)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed due to unsolved ergonomic questions and added lifetime resolution complexity
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:77
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                                                             ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                 ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait RefreshableAuthProvider<'a>: AuthProvider {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                           ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait RefreshableAuthProvider<'a>: AuthProvider {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                                                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:77
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                                                                             ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                      ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:54
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                                      ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:77
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                                                             ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                 ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait RefreshableAuthProvider<'a>: AuthProvider {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                           ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait RefreshableAuthProvider<'a>: AuthProvider {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                                                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:77
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                                                                             ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                      ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:54
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                                      ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:77
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                                                             ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                 ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl<'a> RefreshableAuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:147:43
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                           ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl<'a> RefreshableAuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:77
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                                                             ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                 ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl<'a> RefreshableAuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:147:43
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                           ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl<'a> RefreshableAuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/api/api_call.rs:166:16
[INFO] [stdout]     |
[INFO] [stdout] 166 |         Error::description(self).fmt(f)
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/api/api_call.rs:166:16
[INFO] [stdout]     |
[INFO] [stdout] 166 |         Error::description(self).fmt(f)
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/auth/auth_provider.rs:177:16
[INFO] [stdout]     |
[INFO] [stdout] 177 |         Error::description(self).fmt(f)
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `call` does not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^             ----------- returning this value requires that `call` is borrowed for `'static`
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 62 |     }
[INFO] [stdout]    |     - `call` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `call` because it is borrowed
[INFO] [stdout]   --> src/lib.rs:61:41
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ------------             ----------- returning this value requires that `call` is borrowed for `'static`
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         borrow of `call` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 61 |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout]    |                                         ^^^^ move out of `call` occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self.auth` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/lib.rs:61:47
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                  -------------------------------------------------------------
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  mutable borrow occurs here
[INFO] [stdout]    |                                  argument requires that `*self.auth` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 61 |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/auth/auth_provider.rs:177:16
[INFO] [stdout]     |
[INFO] [stdout] 177 |         Error::description(self).fmt(f)
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `call` does not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^             ----------- returning this value requires that `call` is borrowed for `'static`
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 62 |     }
[INFO] [stdout]    |     - `call` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `call` because it is borrowed
[INFO] [stdout]   --> src/lib.rs:61:41
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ------------             ----------- returning this value requires that `call` is borrowed for `'static`
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         borrow of `call` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 61 |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout]    |                                         ^^^^ move out of `call` occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self.auth` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/lib.rs:61:47
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                  -------------------------------------------------------------
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  mutable borrow occurs here
[INFO] [stdout]    |                                  argument requires that `*self.auth` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 61 |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |           where T: serde::de::DeserializeOwned {
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout] 58 | |         if token.is_expired() {
[INFO] [stdout] 59 | |             // TODO
[INFO] [stdout] 60 | |         }
[INFO] [stdout] 61 | |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout] 62 | |     }
[INFO] [stdout]    | |_____^ ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B: 'static>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0311]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |           where T: serde::de::DeserializeOwned {
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout] 58 | |         if token.is_expired() {
[INFO] [stdout] 59 | |             // TODO
[INFO] [stdout] 60 | |         }
[INFO] [stdout] 61 | |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout] 62 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout] note: the parameter type `B` must be valid for the anonymous lifetime defined here...
[INFO] [stdout]   --> src/lib.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] note: ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |           where T: serde::de::DeserializeOwned {
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout] 58 | |         if token.is_expired() {
[INFO] [stdout] 59 | |             // TODO
[INFO] [stdout] 60 | |         }
[INFO] [stdout] 61 | |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout] 62 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<'a, T, B: 'a>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                           +++     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0311]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |           where T: serde::de::DeserializeOwned {
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout] 58 | |         if token.is_expired() {
[INFO] [stdout] 59 | |             // TODO
[INFO] [stdout] 60 | |         }
[INFO] [stdout] 61 | |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout] 62 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout] note: the parameter type `B` must be valid for the anonymous lifetime defined here...
[INFO] [stdout]   --> src/lib.rs:55:50
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |           where T: serde::de::DeserializeOwned {
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout] 58 | |         if token.is_expired() {
[INFO] [stdout] 59 | |             // TODO
[INFO] [stdout] 60 | |         }
[INFO] [stdout] 61 | |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout] 62 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<'a, T, B: 'a>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                           +++     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function
[INFO] [stdout]   --> src/lib.rs:57:34
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                 ---------
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 `self` is a reference that is only valid in the associated function body
[INFO] [stdout]    |                                 let's call the lifetime of this reference `'1`
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `self` escapes the associated function body here
[INFO] [stdout]    |                                  argument requires that `'1` must outlive `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:82
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                                                -- let's call the lifetime of this reference `'2`
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                                                  ^^^^^^^^^^^ returning this value requires that `'2` must outlive `'static`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `url::Url::into_string`: use Into<String>
[INFO] [stdout]   --> src/lib.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let url_str = url.into_string();
[INFO] [stdout]    |                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |           where T: serde::de::DeserializeOwned {
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout] 58 | |         if token.is_expired() {
[INFO] [stdout] 59 | |             // TODO
[INFO] [stdout] 60 | |         }
[INFO] [stdout] 61 | |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout] 62 | |     }
[INFO] [stdout]    | |_____^ ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B: 'static>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0311]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |           where T: serde::de::DeserializeOwned {
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout] 58 | |         if token.is_expired() {
[INFO] [stdout] 59 | |             // TODO
[INFO] [stdout] 60 | |         }
[INFO] [stdout] 61 | |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout] 62 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout] note: the parameter type `B` must be valid for the anonymous lifetime defined here...
[INFO] [stdout]   --> src/lib.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] note: ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |           where T: serde::de::DeserializeOwned {
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout] 58 | |         if token.is_expired() {
[INFO] [stdout] 59 | |             // TODO
[INFO] [stdout] 60 | |         }
[INFO] [stdout] 61 | |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout] 62 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<'a, T, B: 'a>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                           +++     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0311]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |           where T: serde::de::DeserializeOwned {
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout] 58 | |         if token.is_expired() {
[INFO] [stdout] 59 | |             // TODO
[INFO] [stdout] 60 | |         }
[INFO] [stdout] 61 | |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout] 62 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout] note: the parameter type `B` must be valid for the anonymous lifetime defined here...
[INFO] [stdout]   --> src/lib.rs:55:50
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]   --> src/lib.rs:56:46
[INFO] [stdout]    |
[INFO] [stdout] 56 |           where T: serde::de::DeserializeOwned {
[INFO] [stdout]    |  ______________________________________________^
[INFO] [stdout] 57 | |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout] 58 | |         if token.is_expired() {
[INFO] [stdout] 59 | |             // TODO
[INFO] [stdout] 60 | |         }
[INFO] [stdout] 61 | |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout] 62 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<'a, T, B: 'a>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                           +++     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function
[INFO] [stdout]   --> src/lib.rs:57:34
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                 ---------
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 `self` is a reference that is only valid in the associated function body
[INFO] [stdout]    |                                 let's call the lifetime of this reference `'1`
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `self` escapes the associated function body here
[INFO] [stdout]    |                                  argument requires that `'1` must outlive `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:82
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                                                -- let's call the lifetime of this reference `'2`
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                                                  ^^^^^^^^^^^ returning this value requires that `'2` must outlive `'static`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `url::Url::into_string`: use Into<String>
[INFO] [stdout]   --> src/lib.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let url_str = url.into_string();
[INFO] [stdout]    |                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0261, E0310, E0311, E0502, E0505, E0521, E0557, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0261`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `twirl` due to 23 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 22 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0261, E0310, E0311, E0502, E0505, E0521, E0557, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0261`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `twirl` due to 23 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5178481b82d4162e13274c6e0acda46544c1166f71a2487680ad67a917a56b18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5178481b82d4162e13274c6e0acda46544c1166f71a2487680ad67a917a56b18", kill_on_drop: false }`
[INFO] [stdout] 5178481b82d4162e13274c6e0acda46544c1166f71a2487680ad67a917a56b18
